// lessc --clean-css index.less style.css

// size
@headerHeight: 46px;
@asideWidth: 240px;
@sidebarWidth: 240px;
@searchWidth: 240px;
@footerHeight: 45px;

// color
@gray-1: #ffffff;
@gray-2: #fafafa;
@gray-3: #f5f5f5;
@gray-4: #f0f0f0;
@gray-5: #d9d9d9;
@gray-6: #bfbfbf;
@gray-7: #8c8c8c;
@gray-8: #595959;
@gray-9: #434343;
@gray-10: #262626;
@gray-11: #1f1f1f;
@gray-12: #141414;
@gray-13: #000000;

// layout-color
@headerColor: @gray-10;
@headerTextColor: @gray-1;
@footerColor: @gray-10;
@asideBg: @gray-2;
@asideUserBg: @gray-1;
@asideLinksBg: @gray-1;
@bodyBg: @gray-4;
@postBg: @gray-1;
@pageNavigatorBg: @gray-1;
@pageNavigatorCurrent: @gray-10;
@sidebarBg: @gray-2;
// global-color
@globalBorderColor: @gray-4;
// @globalTextGray:  @gray-6;
@globalTextGray:  #999;
// @globalText:  @gray-8;
@globalText:  #666;
// @globalTitle:  @gray-10;
@globalTitle:  #333;

@import './less/base.less';
@import './less/header.less';
@import './less/aside.less';
@import './less/body.less';
@import './less/comments.less';
@import './less/sidebar.less';
@import './less/footer.less';

#mimiva {
    width: 100%;
    height: auto;
    min-height: 100%;
    padding: 0;
    position: relative;
    z-index: 1;
    background: fade(@bodyBg, 95%);
    box-shadow: 0 0 0px 1px @globalBorderColor;
}

.nole {
    pointer-events: none;
}

.typed-cursor{
    opacity: 1;
    margin-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}

#nprogress .bar {
    background: @gray-10 !important;
}

.aplayer.aplayer-fixed.aplayer-narrow {

    .aplayer-body {
        transform: translateX(-66px);
    }

    @media (min-width: 1199px) {
        .aplayer-body:hover {
            transform: translateX(0px);
        }
    }
}



.post-content a {
    border-bottom: 1px solid #EEE;
}

.post-content a:hover {
    border-bottom-color: transparent;
}

.browsehappy {
    padding: 8px 0;
    background: #FBE3E4;
    color: #8A1F11;
    text-align: center;
}

.browsehappy a {
    color: #8A1F11;
    text-decoration: underline;
    font-weight: bold;
}

.more {
    text-align: center;
}

.more a {
    border: none;
}

.protected .text {
    width: 50%;
}

.error-page {
    margin-top: 100px;
    margin-bottom: 100px;
}

.post-content,
.comment-content {
    line-height: 1.5;
    word-wrap: break-word;
}

.post-content h2,
.comment-content h2 {
    font-size: 1.28571em;
}

.post-content img,
.comment-content img,
.post-content video,
.comment-content video {
    max-width: 100%;
}

.post-content a img,
.comment-content a img {
    background: #FFF;
    position: relative;
    bottom: -4px;
}

.post-content hr,
.comment-content hr {
    margin: 2em auto;
    width: 100px;
    border: 1px solid #E9E9E9;
    border-width: 2px 0 0 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

img.alignleft {
    margin: 0 15px 0 0;
}

img.alignright {
    margin: 0 0 0 15px;
}

@media(max-width:767px) {
    body {
        font-size: 81.25%;
    }

    #nav-menu a {
        float: none;
        display: inline-block;
        margin: 0 -2px;
    }
}

@media(max-width:768px) {

    #header,
    .post-title,
    .post-meta {
        text-align: center;
    }
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.sr-only {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}